package com.youngjun.user.service;

import com.youngjun.common.mybatis.service.support.BaseService;
import com.youngjun.user.mapper.AllowAssignFunctionRoleMapper;
import com.youngjun.user.pojo.domain.AllowAssignFunctionRole;

public interface AllowAssignFunctionRoleService extends BaseService<AllowAssignFunctionRole,AllowAssignFunctionRoleMapper> {

    /**
     * 根据功能id删除关系
     * @param functionId 功能id
     */
    void deleteWithLogicByFunctionId(Long functionId);

    /**
     * 根据角色id删除关系
     * @param roleId 角色id
     */
    void deleteWithLogicByRoleId(Long roleId);

}